version = "8.0 Alpha"

------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Sebas' F1 support
function displaySebasBanner()
	local x, y = guiGetScreenSize()
	
	-- Window
	GHWindow = guiCreateWindow(250, 100, 600, 450, "GREENHOOD MAIN SYSTEEM (F1 to hide, activate!)", false)
	
	-- Tab paneel
	tabPanel = guiCreateTabPanel(0, 0.1, 1, 1, true, GHWindow)
	
	-- Tabs
	tabWelcome = guiCreateTab("Welkom", tabPanel)
	tabRules = guiCreateTab("GH Rules", tabPanel)
	tabCrew = guiCreateTab("Crew", tabPanel)
	tabVersion = guiCreateTab("Version", tabPanel)
	tabComm = guiCreateTab("Commands", tabPanel)
		
	-- Teksten
	textWelcome = guiCreateMemo(0.02, 0.04, 0.94, 0.92, "About GreenHood[Dutch]:\n\nGreenHood bestaat al vanaf augustus 2007, op multiplayer SA-MP.\nIn augustus 2008 zijn we overgegaan naar MTA:SA.\nGreenHood is een RPG/Freeroam/Stunt & fun server.\nAls je hier gedraagt kan je hogere levels krijgen (moderator etc..)\nLees de regels rustig door, en hou je eraan :)\n** De naam GreenHood is bedacht door Lars. **\nHier kan je je eigen auto & huis kopen.\nOok kun je je eigen skin selecteren(sommige niet)\nKijk eens rustig rond, snap je iets niet?\n- Gebruik de 'help/contact' knop, wij beantwoorden je vraag!\n\nMvg,\nSebas (Jullie owner, al 1 jaar!)\nVeel plezier in de GreenHood Server.", true, tabWelcome)
	textRules = guiCreateMemo(0.02, 0.04, 0.94, 0.92, "Server rules GreenHood:\n\n- No deathmatch;\n- No (D)DoS/Exploits/Injections;\n- No badwords;\n- No Flood;\n- Use normal nicks;\n- Under 13, authorisation of parents must;\n- No discrimination;\n- No illigal text (like.. H3J);\n- No bots;\n- Please don't use hacks, cheats.. you will be banned;\n- Do not nag for a level (moderator/smoderator/admin);\n- Don't shoot at tires.\n\nHave fun!", true, tabRules)
	textCrew = guiCreateMemo(0.02, 0.04, 0.94, 0.92, "GreenHood Crew:\n\nOwner:\n- Sebas (Script development)\n- Tommy_Streight\n- LaNCer (Images)\n\nAdmins:\n- Knick\n- im2fast4u\n- MrT\n- Fran\n- Spunky\n- D4v3\n\nGlobal moderators:\n- Chris\n- Ottoman\n\nWe don't need new people :)", true, tabCrew)
	textVersion = guiCreateMemo(0.02, 0.04, 0.94, 0.92, "Version:\n\nGreenHood Island "..version.."\nGamemode type: RPG, Freeroam, Stunt & Fun!\nDevelopers: Sebas & LaNCer\n\n\nRelease dates:\n8.0 Alpha: 30-01-2009 13:40\n7.3 Lite: 11-01-2009 11:35\n7.1: 12-10-08 13:04\n7.0A lite(Bugfix): 21-09-08 13:23\n6.6: 16-09-08 19:02\n6.5b: 08-09-08 19:24\n6.5: 03-09-2008 21:21\n6.4a: 29-08-08 21:46\n6.3: 26-08-2008 14:18\n6.2b: 19-08-08 21:00", true, tabVersion)
	textComm = guiCreateMemo(0.02, 0.04, 0.94, 0.92, "Commands:\n\n- /kill (kill yourself)\n- /flip (flip the car)\n- /style [4-5-6-7-15-16] (Fighting style)\n- /sebas (Sebas' ship)\n- /rms (Ship)\n- /antonia (Antonia graza)\n- /v [carid] (Spawn a vehicle, only admins!)\n- /stunt (High stunt)\n- /stunt2 (SkyCoaster)\n- /island (Small fun island)\n- /island2 (Big island, airport)\n- /mreload (Reload the infernus mod)\n- /jump [height] (Jump)\n- /rskin (Reload your skin)\n- /skin [id] (Select a skin)\n- /stunt1 (LS High stunt)\n- /megajump (Mega stunt)\n- /bergjump (Big stunt)\n- /admin (Admin island)\n- /home (GreenHood Island)\n\nKeys:\n\nNumlock 7: Carfix\nNumlock 9: Flip\nL: toggle carlights\nF3: Hide chat\nX: attach to a car\nArrow up/ w: car nitro\nF1 = help", true, tabComm)
	
	-- Only read? :)
	guiSetEnabled(textWelcome, false)
	guiSetEnabled(textRules, false)
	guiSetEnabled(textCrew, false)
	guiSetEnabled(textVersion, false)
	guiSetEnabled(textComm, false)

	-- Weergeven
	guiSetVisible(GHWindow, false)
	guiWindowSetSizable(GHWindow, false)
	guiWindowSetMovable(GHWindow, true)
	
	-- Images + Text
	guiCreateLabel(x-380, y-90, 380, 15, "[GreenHood Island "..version..", Developers: Sebas & LaNCer]", false)
	guiCreateStaticImage(x-400, y-75, 400, 75, "images/background.png", false)
	guiCreateStaticImage(x-300, 0, 350, 50, "images/gh_banner.png", false)
end

addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), displaySebasBanner)
------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Show Sebas menu..
function MenuShow()
    if guiGetVisible(GHWindow) then
        guiSetVisible(GHWindow, false)
		showCursor(false)
    else
		guiSetVisible(GHWindow, true)
		showCursor(true)
    end
end
bindKey("F1", "down", MenuShow)
bindKey("F9", "down", MenuShow)
---
